Web visit event
An event node that gives every visitor of a public web page their own run. Use it when everybody who is interested should be able to start something, not only the one person you sent a link to: a table pager on a QR code at the door, a reservation form, a repair counter, a sign-up page.
Opening the page starts nothing. The visitor's first action does: pressing the button of the page, allowing notifications on the phone, or both. Then a new run starts for exactly that visitor, with what they entered in its variables, and it waits in the background until the work is done.
Set it up​
- Add the node Web visit (palette group Events). It gets a random address name, so the page cannot be guessed.
Change it only if you want a readable address such as
table-pager. - Put an input node right behind it. Its page is the page the visitor sees at
https://your-host/w/<name>, with the same fields, texts and buttons. - Choose what the first action is (First action of the visitor):
- Submit the page (default): the visitor fills in the page and presses the button.
- Couple the phone: the visitor only allows notifications; the page has no other fields.
- Submit the page and couple the phone: one form; add the field Notifications on this phone (the checkbox "browser push registration" of the input node).
- Add a start node that waits (for example a timer of one year) and an end node. Like every event diagram it is
open while this run waits. Draw a
timeoutedge behind the waiting nodes, so runs that nobody finishes end by themselves. - Press Start. The button Public pages (next to Start) shows the address, a QR code to print and how many runs are waiting.
The number of open runs per page is limited (500 by default) and so are the starts per hour from one connection (10 by default); both are parameters of the node. A full page tells the visitor to try again later.
What the visitor sees​
After the first action the visitor goes on with the next page of their run. If they come back to the same address with the same browser, they see the page their run is at now, not the form again. When the run is over, the form is there again for the next start. Another browser or a private window starts a new run.
Let the staff do their part​
A run often waits for something that people do: the table is free, the repair is done. Mark that input node for the staff: see User input, staff board. The staff open the page Board and press a button; the visitor never sees that page, only a thank-you message until it is their turn.
Example​
Table Pager (examples, folder Conditional): a guest joins the queue by QR code, enters name and party size and allows notifications; the waiter sees the guest on the page Board and presses Table ready; the guest's phone shows "Your table is ready" and the guest answers coming or later with a tap.
Needs push keys in the account settings, and https (or localhost) for the phone.